package pojo;

public class User {
    private int id;
    private String usersname;
    private String password;
    private String name;
    private String work;
    private String interest;
    private String sex;
    private String remark;

    private int permissions;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsersname() {
        return usersname;
    }

    public void setUsersname(String usersname) {
        this.usersname = usersname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getWork() {
        return this.work;
    }

    public void setWork(String work) {
        this.work = work;
    }

    public String getInterest() {
        return interest;
    }

    public void setInterest(String interest) {
        this.interest = interest;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getPermissions() {
        return permissions;
    }

    public void setPermissions(int permissions) {
        this.permissions = permissions;
    }

    public User(int id, String usersname, String password, String name, String work, String interest, String sex, String remark, int permissions) {
        this.id = id;
        this.usersname = usersname;
        this.password = password;
        this.name = name;
        this.work = work;
        this.interest = interest;
        this.sex = sex;
        this.remark = remark;
        this.permissions = permissions;
    }

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", usersname='" + usersname + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", work='" + work + '\'' +
                ", interest='" + interest + '\'' +
                ", sex='" + sex + '\'' +
                ", remark='" + remark + '\'' +
                ", permissions=" + permissions +
                '}';
    }
}
